/*
 * CRtpPacker.h
 *
 *  Created on: 2018年4月21日
 *      Author: chuanjiang.zh@qq.com
 */

#ifndef CRTPPACKER_H_
#define CRTPPACKER_H_

#include "RtpPacker.h"

namespace av
{

class CRtpPacker : public RtpPacker
{
public:
	CRtpPacker();
	virtual ~CRtpPacker();

	virtual bool open();

	virtual void pack(const MediaPacket& pkt, int maxSize, RtpPackerSink sink);

	virtual void close();

	void setCodec(int codec);

protected:
	int	m_codec;

};


} /* namespace av */

#endif /* CRTPPACKER_H_ */
